package com.shxc.smarttrade.old.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.shxc.smarttrade.R;

import butterknife.BindView;


/**
 * Created by jcdev1 on 2017/5/12.
 */

public class FreshClassRoomActivity extends BaseActivity implements View.OnClickListener {
    @BindView(R.id.iv_left)
    ImageView ivLeft;
    @BindView(R.id.tv_center)
    TextView tvCenter;
    @BindView(R.id.rl_left)
    RelativeLayout rlLeft;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fresh_classroom);
        initView();
        initListener();
    }

    /**
     * 初始化view
     */
    private void initView() {
        tvCenter.setText("新手课堂");
    }

    /**
     * 初始化监听器
     */
    private void initListener() {
        rlLeft.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.rl_left:
                finish();
                break;

        }

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();

    }
}
